package com.platform.dao.mybatis.mapper;

import com.platform.domain.model.UserSecurity;
import com.platform.domain.model.UserSecurityKey;

import java.util.List;

/**
* UserSecurity
*
* User: wangyang
* DateTime: 2012-10-08 15:47:09
*
*/
public interface UserSecurityMapper {

    // 根据主键查询对象
    UserSecurity selectByPrimaryKey(UserSecurityKey key);

    // 根据条件查询对象
    List<UserSecurity> select(UserSecurity userSecurity);

    // 根据主键删除对象
    int deleteByPrimaryKey(UserSecurityKey key);

    // 根据条件删除对象
    int delete(UserSecurity userSecurity);

    // 插入对象
    int insert(UserSecurity userSecurity);

    // 更新对象
    int update(UserSecurity userSecurity);

}
